package com.miyuan.bean.respone;

import java.util.List;

/**
 * Created by admin on 2018/5/8.
 */

public class MachineListBean {

    /**
     * asc : true
     * condition : {}
     * current : 0
     * limit : 0
     * offset : 0
     * offsetCurrent : 0
     * openSort : true
     * orderByField : string
     * pages : 0
     * records : [{"controlNumber":"string","id":"string","lastReplenishmentTime":"2018-05-08T09:30:47.533Z","number":"string","picture":"string","pointName":"string","salesRatioString":"string","total":0}]
     * searchCount : true
     * size : 0
     * total : 0
     */

    private boolean asc;
    private ConditionBean condition;
    private int current;
    private int limit;
    private int offset;
    private int offsetCurrent;
    private boolean openSort;
    private String orderByField;
    private int pages;
    private boolean searchCount;
    private int size;
    private int total;
    private List<RecordsBean> records;

    public boolean isAsc() {
        return asc;
    }

    public void setAsc(boolean asc) {
        this.asc = asc;
    }

    public ConditionBean getCondition() {
        return condition;
    }

    public void setCondition(ConditionBean condition) {
        this.condition = condition;
    }

    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public int getOffset() {
        return offset;
    }

    public void setOffset(int offset) {
        this.offset = offset;
    }

    public int getOffsetCurrent() {
        return offsetCurrent;
    }

    public void setOffsetCurrent(int offsetCurrent) {
        this.offsetCurrent = offsetCurrent;
    }

    public boolean isOpenSort() {
        return openSort;
    }

    public void setOpenSort(boolean openSort) {
        this.openSort = openSort;
    }

    public String getOrderByField() {
        return orderByField;
    }

    public void setOrderByField(String orderByField) {
        this.orderByField = orderByField;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public boolean isSearchCount() {
        return searchCount;
    }

    public void setSearchCount(boolean searchCount) {
        this.searchCount = searchCount;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<RecordsBean> getRecords() {
        return records;
    }

    public void setRecords(List<RecordsBean> records) {
        this.records = records;
    }

    public static class ConditionBean {
    }

    public static class RecordsBean {
        /**
         * controlNumber : string
         * id : string
         * lastReplenishmentTime : 2018-05-08T09:30:47.533Z
         * number : string
         * picture : string
         * pointName : string
         * salesRatioString : string
         * total : 0
         */

        private String controlNumber;
        private String id;
        private String lastReplenishmentTime;
        private String number;
        private String picture;
        private String pointName;
        private String salesRatioString;
        private int total;

        public String getControlNumber() {
            return controlNumber;
        }

        public void setControlNumber(String controlNumber) {
            this.controlNumber = controlNumber;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getLastReplenishmentTime() {
            return lastReplenishmentTime;
        }

        public void setLastReplenishmentTime(String lastReplenishmentTime) {
            this.lastReplenishmentTime = lastReplenishmentTime;
        }

        public String getNumber() {
            return number;
        }

        public void setNumber(String number) {
            this.number = number;
        }

        public String getPicture() {
            return picture;
        }

        public void setPicture(String picture) {
            this.picture = picture;
        }

        public String getPointName() {
            return pointName;
        }

        public void setPointName(String pointName) {
            this.pointName = pointName;
        }

        public String getSalesRatioString() {
            return salesRatioString;
        }

        public void setSalesRatioString(String salesRatioString) {
            this.salesRatioString = salesRatioString;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }
    }
}
